]> dgit.raspbian.org Git - gnome-shell.git/commit
main: move pointer-sync-on-restack code here
authorDan Winship <danw@gnome.org>
Fri, 10 Jun 2011 13:51:55 +0000 (09:51 -0400)
committerDan Winship <danw@gnome.org>
Fri, 24 Jun 2011 20:08:00 +0000 (16:08 -0400)
commitd5f37fa28037f68c1fca218b24a7dd82d6b0a4fc
treeec1a1468c360260d6e1c37f780e8b68b478a2c45
parent5c6e5ef6d003e44d670cec7235c3b7522726c526
main: move pointer-sync-on-restack code here

We call global.sync_pointer() on MetaScreen::restack as a hack to try
to fix up the hover state after a pointer grab. Previously we were
doing this in chrome.js, since there was already a ::restack handler
there anyway, but this isn't really related to the chrome at all, so
move it to main.js instead.

https://bugzilla.gnome.org/show_bug.cgi?id=633620
js/ui/chrome.js
js/ui/main.js